/**
 * 登录页布局
 * **/
import '../../styles/index.scss'
import { RightOutlined } from '@ant-design/icons'
export default (props) => {
    const { title, children } = props
    return (
        <div className='login'>
            <header>
                <div className="w">
                    <img src={require('../../assets/logo.0940ebb5.png')} alt="" />
                    <h2>{title}</h2>
                    <a href="/">进入网站首页<RightOutlined /><RightOutlined /></a>
                </div>

            </header>
            <main>
                <div className="w">
                    {children}
                </div>
            </main>
            <footer>
                <div className="w">
                    <p>
                        <a href="#">关于我们</a>
                        <a href="#">帮助中心</a>
                        <a href="#">售后服务</a>
                        <a href="#">配送与验收</a>
                        <a href="#">商务合作</a>
                        <a href="#">搜索推荐</a>
                        <a href="#">友情链接</a>
                    </p>
                    <p>CopyRight © 小兔鲜儿</p>
                </div>
            </footer>
        </div>
    )
}

